<%# WATCH OUT make sure you don't add whitespace accidentally %>
<%- unless @user.current_sign_in_at.blank? -%>
<%= t(:view_ticket) %>: <%= ticket_url(@ticket) %>
<%- end -%>

<%- if @ticket.content_type == 'html' -%>
<%= html_to_text @ticket.content -%>
<%- else -%>
<%= @ticket.content -%>
<%- end -%>
